package com.example.mybatisplusstudy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplusstudy.pojo.DataDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DataMapper extends BaseMapper<DataDto> {
    public void batchNoInsert(@Param("dtos") List<DataDto> dtos);

    int queryData();

    int updateData(String batchNo);
}
